package uutalk.netcloud.talk.model.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/1/17.
 */

@Entity
public class TalkHistoryInfo {
    @Id
    String fileName;
    String filePath;
    int status;//0未上传 1 正在上传 2上传完成  3已删除
    String groupID;//群组ID，单聊时是对方ID
    String talkType;//会话类型 0:群聊 1:单聊
    String userID;//说话人的id
    String userName;//说话人的名称
    String time;//时间
    long voice_length;//录音长度 （秒）
    String voice_url;//录音文件的保存路径
    boolean isBindServer;//是否已经绑定到服务器
    long uploadTime;//上传时间

    @Generated(hash = 1133927354)
    public TalkHistoryInfo(String fileName, String filePath, int status, String groupID,
            String talkType, String userID, String userName, String time, long voice_length,
            String voice_url, boolean isBindServer, long uploadTime) {
        this.fileName = fileName;
        this.filePath = filePath;
        this.status = status;
        this.groupID = groupID;
        this.talkType = talkType;
        this.userID = userID;
        this.userName = userName;
        this.time = time;
        this.voice_length = voice_length;
        this.voice_url = voice_url;
        this.isBindServer = isBindServer;
        this.uploadTime = uploadTime;
    }

    @Generated(hash = 1977480472)
    public TalkHistoryInfo() {
    }

    public String getFileName() {
        return this.fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return this.filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getGroupID() {
        return this.groupID;
    }

    public void setGroupID(String groupID) {
        this.groupID = groupID;
    }

    public String getTalkType() {
        return this.talkType;
    }

    public void setTalkType(String talkType) {
        this.talkType = talkType;
    }

    public String getUserID() {
        return this.userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public long getVoice_length() {
        return this.voice_length;
    }

    public void setVoice_length(long voice_length) {
        this.voice_length = voice_length;
    }

    public String getVoice_url() {
        return this.voice_url;
    }

    public void setVoice_url(String voice_url) {
        this.voice_url = voice_url;
    }

    public boolean getIsBindServer() {
        return this.isBindServer;
    }

    public void setIsBindServer(boolean isBindServer) {
        this.isBindServer = isBindServer;
    }

    public long getUploadTime() {
        return this.uploadTime;
    }

    public void setUploadTime(long uploadTime) {
        this.uploadTime = uploadTime;
    }

}
